/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package cz.muni.fi.pa165.musiclibrary.api.services;

import cz.muni.fi.pa165.musiclibrary.api.dao.AuthorDAO;
import cz.muni.fi.pa165.musiclibrary.api.dto.AuthorDTO;
import java.util.List;

/**
 *
 * @author Dominik
 */
public interface AuthorService {
 
    public void createAuthor(AuthorDTO author);
   
    public AuthorDTO getAuthor(Long id);

    public List<AuthorDTO> getAllAuthors();
   
    public void updateAuthor(AuthorDTO author);
  
    public void deleteAuthor(AuthorDTO author);
   
    public void setAuthorDAO(AuthorDAO authorAO);
}
